package com.jnevision.leaveapprovalrecords.service;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jnevision.common.CommonQuery;
import com.jnevision.leaveapprovalrecords.mapper.LeaveApprovalRecordsMapper;
import com.jnevision.leaveapprovalrecords.model.LeaveApprovalRecords;

/**
 * <p>
 * 请假审批记录 服务实现类
 * </p>
 *
 * @author gavin
 * @since 2019-07-13
 */
@Service
public class LeaveApprovalRecordsServiceImpl extends ServiceImpl<LeaveApprovalRecordsMapper, LeaveApprovalRecords> {

    public int countApprove(CommonQuery query) {
        return this.baseMapper.countApprove(query);
    }
}
